Skip to content

Conversation

Freddis
Copy link

@Freddis Freddis commented Sep 5, 2025

When findFirst() is used with expo-sqlite, it logs the query twice. This happens because the logging is already happening in values() method of ExpoSQLitePreparedQuery.

findMany() calls ExpoSQLitePreparedQuery::all()
findFirst() calls ExpoSQLitePreparedQuery::get()

I moved logging in get() to the same place as in all() method, now logs won't duplicate anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant